package com.tea.Model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderListVO {

    //订单编号
    private String orderNo;
    //订单状态
    private String status;
    //收货方式 0:外送 1:自提
    private String shippingMethod;
    //订单金额
    private BigDecimal amount;
    //封面图
    private String image;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
